package com.baigu.order.dao.mapper;

import com.baigu.order.dao.model.BgOrderDetail;
import com.baigu.order.dao.model.BgOrderDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BgOrderDetailMapper {
    long countByExample(BgOrderDetailExample example);

    int deleteByExample(BgOrderDetailExample example);

    int deleteByPrimaryKey(String id);

    int insert(BgOrderDetail record);

    int insertSelective(BgOrderDetail record);

    List<BgOrderDetail> selectByExample(BgOrderDetailExample example);

    BgOrderDetail selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BgOrderDetail record, @Param("example") BgOrderDetailExample example);

    int updateByExample(@Param("record") BgOrderDetail record, @Param("example") BgOrderDetailExample example);

    int updateByPrimaryKeySelective(BgOrderDetail record);

    int updateByPrimaryKey(BgOrderDetail record);
}